/**
 * Created with CLion.
 * Description: 
 * User: loong
 * Date: 2021/7/3
 * Time: 22:09
 */

#include "DiagramView.h"

DiagramView::DiagramView(QGraphicsScene * scene, QWidget * parent)
    : QGraphicsView(scene, parent)
{}

DiagramView::~DiagramView()
{
}

void DiagramView::wheelEvent(QWheelEvent * event)
{
    QGraphicsView::wheelEvent(event);
}

void DiagramView::drawBackground(QPainter * painter, const QRectF & rect)
{
    QGraphicsView::drawBackground(painter, rect);
}
